import request from '@/utils/request';

// 采购报表
export function purchaseReportList(data) {
    return request({
        url: '/system/report/purchaseReport',
        method: 'get',
        params: data
    })
}

// 采购报表详情
export function purchaseReportDetail(data) {
    return request({
        url: '/system/report/purchaseDetail',
        method: 'get',
        params: data
    })
}

// 销售报表
export function saleReportList(data) {
    return request({
        url: '/system/report/saleReport',
        method: 'get',
        params: data
    })
}

// 销售报表详情
export function saleReportDetail(data) {
    return request({
        url: '/system/report/saleDetail',
        method: 'get',
        params: data
    })
}

// 采购退货报表
export function purchaseReturnReportList(data) {
    return request({
        url: '/system/report/purchaseReturnReport',
        method: 'get',
        params: data
    })
}

// 采购退货详情
export function purchaseReturnReportDetail(data) {
    return request({
        url: '/system/report/purchaseReturnDetail',
        method: 'get',
        params: data
    })
}

// 销售退货报表
export function saleReturnReportList(data) {
    return request({
        url: '/system/report/saleReturnReport',
        method: 'get',
        params: data
    })
}

// 销售退货详情
export function saleReturnReportDetail(data) {
    return request({
        url: '/system/report/saleReturnDetail',
        method: 'get',
        params: data
    })
}